#ifndef __SHELL__
#define __SHELL__
#include "Thread.h"
#include "BoundedMailBox.h"
#include "Kernel.h"
//#include <fcntl.h>
class Kernel;

class Shell1:public Thread
{

private:
	char myData[80];
	Message* msg;
	BoundedMailBox* mailbox;
	static void* DisplayShell(void* arg);
	
public:
	Shell1(int size);
	~Shell1();
	int AmIBlocked();
	int getMailBoxSize();
	BoundedMailBox* getMailBox();
	int getMailBoxMaxSize();
	void cleanMailbox();
	void setMailBoxSize(int size);
	char** getCommand();
};

#endif
